#include <iostream>
#include "Server.hpp"

int main(int argc,char* argv[])
{
    if(argc != 2)
    {
        LOG(INFO,"./udpserver port\n");
        exit(1);
    }

    uint16_t port = std::stoi(argv[1]);

    Server local(port);
    local.Init();
    local.Start();

    return 0;
}